package com.jfm.jfmc.core.service;

import com.jfm.jfmc.core.service.impl.CollectServiceImpl;
import com.jfm.jfmm.collector.entity.collect.CollectParam;
import com.jfm.jfmm.collector.entity.collect.CollectResult;

/**
 * @author DYang
 * @since 2024-10-12 23:05
 *
 * 数据采集服务
 */
public interface ICollectService {


    /**
     * 单个采集
     */
    CollectResult collectOne(CollectParam param);

    /**
     * 异步执行单个采集
     */
    void collectOneAsync(CollectParam param);
}
